public void ReturnsInstructionsIfNotNull( DirectoryPath path, DataFolderPathDecorator sut) { sut.Instructions.DataFolderPath = path; sut.Path.Should().Be(path); }
public void InstructionsNullReturnDataDirectoryProvider( DirectoryPath path, DataFolderPathDecorator sut) { sut.DataDirectoryProvider.Path.Returns(path); sut.Instructions.DataFolderPath = default; sut.Path.Should().Be(path); }