Ejemplo n.º 1
0
//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes:
//ORIGINAL LINE: @Test public void shouldLogInitPasswordChange() throws Throwable
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in C#:
        public virtual void ShouldLogInitPasswordChange()
        {
            _authentication.authenticate(AuthToken("neo4j", "123", "secret"));

            MultiRealmAuthManagerRule.FullSecurityLog fullLog = AuthManagerRule.getFullSecurityLog();
            fullLog.AssertHasLine("neo4j", "logged in (password change required)");
            fullLog.AssertHasLine("neo4j", "changed password");
        }