public void TokenWithMissingNotBefore_Deprecated() { // 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.ValidateTokenShimWithDeprecatedModel(testTokenCreator.CreateTokenWithMissingNotBefore()); }
public void ValidToken_Deprecated() { SampleTokenValidationClass classUnderTest = new SampleTokenValidationClass(); classUnderTest.ValidateTokenShimWithDeprecatedModel(testTokenCreator.CreateDefaultValidToken()); }