@Test
public void testAddHost()
{

    HmsInventory hmsInventory = HmsInventory.getInstance();
    assertTrue( hmsInventory.loadInventory( props.getProperty( HMS_IB_INVENTORY_LOCATION_PROPERTY ) ) );
    final String nodeId = this.getNodeId( this.getDateTimeInMillis() );
    // add server
    assertTrue( hmsInventory.addHost( getServerNode( nodeId ) ) );
    List<ServerNode> hosts = hmsInventory.getHosts();
    assertNotNull( hosts );
    List<String> nodeIds = this.getAllNodeIds( hosts );
    assertTrue( nodeIds.contains( nodeId ) );
}