public void ItShouldCreate_ReopenDocumentCommand() { var factory = new ReopenDocumentCommandFactory(null); var command = factory.CreateCommand(NullDocument.Instance); Assert.IsType <ReopenDocumentCommand>(command); }
public void ItShouldHandle_Nulls() { var factory = new ReopenDocumentCommandFactory(null); var command = factory.CreateCommand(null); Assert.NotNull(factory); Assert.NotNull(command); }