@Test
public void testIsMultiTarget() throws Exception {

    JMXLocationResolver resolver = new JMXLocationResolver();
    Assert.assertFalse(resolver.isMultiTarget(new JMXNodeLocation("domain:one=1,two=2,three=3")));
    Assert.assertTrue(resolver.isMultiTarget(new JMXNodeLocation("domain:one=*,two=2,three=3")));
    Assert.assertTrue(resolver.isMultiTarget(new JMXNodeLocation("domain:one=1,two=*,three=3")));
    Assert.assertTrue(resolver.isMultiTarget(new JMXNodeLocation("domain:one=1,two=2,three=*")));
}