//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes: //ORIGINAL LINE: @Before public void setup() public virtual void Setup() { _fileSystem = _fileSystemRule.get(); OutsideWorld mock = mock(typeof(OutsideWorld)); when(mock.FileSystem()).thenReturn(_fileSystem); _setPasswordCommand = new SetInitialPasswordCommand(_testDir.directory("home").toPath(), _testDir.directory("conf").toPath(), mock); _authInitFile = CommunitySecurityModule.getInitialUserRepositoryFile(_setPasswordCommand.loadNeo4jConfig()); CommunitySecurityModule.getUserRepositoryFile(_setPasswordCommand.loadNeo4jConfig()); }
//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes: //ORIGINAL LINE: @Override @Nonnull public org.neo4j.commandline.arguments.Arguments allArguments() public override Arguments AllArguments() { return(SetInitialPasswordCommand.Arguments()); }