Improved supports()

This commit is contained in:
Arjen Poutsma
2007-10-22 21:52:00 +00:00
parent beef3660b5
commit b0d1c71cd3
2 changed files with 13 additions and 1 deletions

View File

@@ -66,4 +66,10 @@ public class CastorMarshallerTest extends AbstractMarshallerTestCase {
handlerControl.verify();
}
public void testSupports() throws Exception {
assertTrue("CastorMarshaller does not support Flights", marshaller.supports(Flights.class));
assertTrue("CastorMarshaller does not support Flight", marshaller.supports(Flight.class));
}
}