コード例 #1
0
        public void ItShouldCreate_ReopenDocumentCommand()
        {
            var factory = new ReopenDocumentCommandFactory(null);
            var command = factory.CreateCommand(NullDocument.Instance);

            Assert.IsType <ReopenDocumentCommand>(command);
        }
コード例 #2
0
        public void ItShouldHandle_Nulls()
        {
            var factory = new ReopenDocumentCommandFactory(null);
            var command = factory.CreateCommand(null);

            Assert.NotNull(factory);
            Assert.NotNull(command);
        }