//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes:
//ORIGINAL LINE: @Test public void createRegularCommitProcess()
        public virtual void CreateRegularCommitProcess()
        {
            CommunityCommitProcessFactory factory = new CommunityCommitProcessFactory();

            TransactionCommitProcess commitProcess = factory.Create(mock(typeof(TransactionAppender)), mock(typeof(StorageEngine)), Config.defaults());

            assertThat(commitProcess, instanceOf(typeof(TransactionRepresentationCommitProcess)));
        }
//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes:
//ORIGINAL LINE: @Test public void createReadOnlyCommitProcess()
        public virtual void CreateReadOnlyCommitProcess()
        {
            CommunityCommitProcessFactory factory = new CommunityCommitProcessFactory();

            Config config = Config.defaults(GraphDatabaseSettings.read_only, "true");

            TransactionCommitProcess commitProcess = factory.Create(mock(typeof(TransactionAppender)), mock(typeof(StorageEngine)), config);

            assertThat(commitProcess, instanceOf(typeof(ReadOnlyTransactionCommitProcess)));
        }