public void testLoadFullTimestampVerification() throws Exception
{
WSSecurityConfiguration config = load("jboss-wsse-full-tv.xml");
assertNotNull("TimestampVerification Missing", config.getTimestampVerification());
TimestampVerification tv = config.getTimestampVerification();
assertEquals("Expected 'createdTolerance' to be '5'", 5, tv.getCreatedTolerance());
assertFalse("Expected 'warnCreated' to default to 'false'", tv.isWarnCreated());
assertEquals("Expected 'expiresTolerance' to be '10'", 10, tv.getExpiresTolerance());
assertFalse("Expected 'warnExpires' to default to 'false'", tv.isWarnExpires());
}