public void BuildFilename_ReturnsCorrectString()
        {
            var sut = new FilenameBuilder();

            var result = sut.BuildFilename(TestContext);

            Assert.Equal(Expected, result);
        }
示例#2
0
        public void Setup()
        {
            _filenameBuilder = new FilenameBuilder();

            _dataContext = new DataContext
            {
                EventDateUtc = new DateTime(2019, 09, 13, 10, 00, 00, DateTimeKind.Utc),
                Title        = "ProgNet2019",
                Key          = "WS"
            };
        }