public void WillNotWriteIfTheOnlyLogFlagIsSet() { var msg = Substitute.For <IMessage>(); msg.OnlyLog.Returns(true); _sut.Write(msg); _mockWriter.DidNotReceiveWithAnyArgs().Write(msg); }