@Test public void getPropertyCount_shouldReturnTwo() throws Exception { pb.addProperty("test", "42"); pb.addProperty("number", 42); assertTrue(pb.propertyCount() == 2); }
@Test public void removeAllProperties_shouldDeleteEverything() throws Exception { pb.addProperty("test", "42"); pb.addProperty("number", 42); pb.removeAllProperties(); assertTrue(pb.propertyCount() == 0); }