Example #1
0
//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes:
//ORIGINAL LINE: @Before public void setUp() throws Exception
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in C#:
        public virtual void SetUp()
        {
            Path homeDir = TestDirectory.directory("home-dir").toPath();

            _databaseDirectory = homeDir.resolve("data/databases/foo.db");
            Files.createDirectories(_databaseDirectory);
            _outCaptor = ArgumentCaptor.forClass(typeof(string));
            @out       = mock(typeof(System.Action));
            _command   = new StoreInfoCommand(@out);
        }
Example #2
0
//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(StoreInfoCommand.Arguments());
        }