Property[] propArry = agent1Props.getPropertyArray( );
Assert.assertNotNull( propArry );
Assert.assertEquals( propArry.length, 3 );
Property prop1 = propArry[0];
Property prop2 = propArry[1];
Property prop3 = propArry[2];
Assert.assertNotNull( prop1 );
Assert.assertNotNull( prop2 );
Assert.assertNotNull( prop3 );
Assert.assertEquals( prop1.getId( ),
"Endpoint" );
Assert.assertEquals( prop2.getId( ),
"ResourceID" );
Assert.assertEquals( prop3.getId( ),
"ResourceID" );
Assert.assertEquals( prop1.getStringValue( ),
"http://localhost/stuff" );
Assert.assertEquals( prop2.getStringValue( ),
"1234" );
Assert.assertEquals( prop3.getStringValue( ),
"5678" );
}