public void TokenWithMissingNotBefore() { // NOTE: This is not currently validated and there's no way to enforce its presence. // It may be enforceable in the future, in which case this will be updated with proper checks. SampleTokenValidationClass classUnderTest = new SampleTokenValidationClass(); classUnderTest.ValidateTokenShim(testTokenCreator.CreateTokenWithMissingNotBefore()); }
public void ValidToken() { SampleTokenValidationClass classUnderTest = new SampleTokenValidationClass(); classUnderTest.ValidateTokenShim(testTokenCreator.CreateDefaultValidToken()); }