public void InitializeTest() { fixture = new EncryptedStoreTestFixture(RoleSessionsFilename); manager = new SAMLRoleSessionManager(); DateTime now = DateTime.UtcNow; // The expiration is only stored to the second in our JSON nowToTheSecond = new DateTime(now.Year, now.Month, now.Day, now.Hour, now.Minute, now.Second, DateTimeKind.Utc); yesterday = nowToTheSecond.AddDays(-1); tomorrow = nowToTheSecond.AddDays(1); samlCredentials = new SAMLImmutableCredentials("AccessKey", "SecretKey", "Token", tomorrow, "Subject"); expiredSamlCredentials = new SAMLImmutableCredentials("AccessKey", "SecretKey", "Token", yesterday, "Subject"); }