}
public void testEqualsWithDifferentNumberOfAttributes()
throws Exception
{
final DefaultConfiguration configuration1 = new DefaultConfiguration( "x", "", "" );
configuration1.setAttribute( "key", "value" );
configuration1.setAttribute( "key2", "value" );
final DefaultConfiguration configuration2 = new DefaultConfiguration( "x", "", "" );
configuration2.setAttribute( "key", "value" );
final boolean equal =
ConfigurationUtil.equals( configuration1, configuration2 );
assertEquals( "config1 == config2", false, equal );
}