@Test
public void host2() throws Exception {

    ResourceAddress input = new ResourceAddress()
            .add("host", "master")
            .add("subsystem", "jmx");
    ResourceAddress expected = new ResourceAddress()
            .add("host", "*")
            .add("subsystem", "jmx");
    ResourceAddress result = processor.apply(input);
    assertEquals(expected, result);
}