@Test
public void testFindWarnings() {

	Collection<RoboconfError> errors = new ArrayList<> ();
	Assert.assertEquals( 0, RoboconfErrorHelpers.findWarnings( errors ).size());
	errors.add( new RoboconfError( PM_DUPLICATE_PROPERTY ));
	Assert.assertEquals( 0, RoboconfErrorHelpers.findWarnings( errors ).size());
	errors.add( new RoboconfError( PROJ_NO_RESOURCE_DIRECTORY ));
	errors = RoboconfErrorHelpers.findWarnings( errors );
	Assert.assertEquals( 1, errors.size());
	Assert.assertEquals( PROJ_NO_RESOURCE_DIRECTORY, errors.iterator().next().getErrorCode());
}