public void testCtorNullsInFileSet()
throws Exception
{
try
{
new FileSetMetaData( null,
new String[ 0 ],
new String[ 0 ] );
fail( "Expected a NPE" );
}
catch( NullPointerException e )
{
assertEquals( "NPE type", "baseDirectory", e.getMessage() );
}
try
{
new FileSetMetaData( ".",
null,
new String[ 0 ] );
fail( "Expected a NPE" );
}
catch( NullPointerException e )
{
assertEquals( "NPE type", "includes", e.getMessage() );
}
try
{
new FileSetMetaData( ".",
new String[ 0 ],
null );
fail( "Expected a NPE" );
}
catch( NullPointerException e )