todo : this test needs to be updated so that it properly connects to the junithttpserver for simulated rancid rest operations . concode_field_sep RancidProvisioningAdapter m_adapter concode_elem_sep NodeDao m_nodeDao concode_elem_sep int NODE_ID concode_elem_sep DatabasePopulator m_populator concode_elem_sep MockEventIpcManager m_mockEventIpcManager concode_field_sep void testAddNode concode_elem_sep void testDeleteNode concode_elem_sep void testNodeConfigChanged concode_elem_sep void afterPropertiesSet concode_elem_sep void testUpdateNode concode_elem_sep void setUp
void function ( ) { OnmsNode loc0 = m_nodeDao . get ( NODE_ID ) ; assertNotNull ( loc0 ) ; int loc1 = loc0 . getId ( ) ; m_adapter . addNode ( loc1 ) ; m_adapter . addNode ( loc1 ) ; m_adapter . updateNode ( loc1 ) ; assertEquals ( 0 , m_adapter . getOperationQueue ( ) . getOperationQueueForNode ( loc1 ) . size ( ) ) ; }