OperationRequestAddress address = handler.getAddress();
assertNotNull(address);
Iterator<Node> nodes = address.iterator();
assertTrue(nodes.hasNext());
Node node = nodes.next();
assertEquals("subsystem", node.getType());
assertEquals("mail", node.getName());
assertTrue(nodes.hasNext());
node = nodes.next();
assertEquals("mail-session", node.getType());
assertEquals("java:/", node.getName());
assertFalse(handler.endsOnNodeSeparator());
}