public void TestFileReader_ShouldLoadVaribles_WhenFileContainsSection() { TestFileReader testReader = new TestFileReader(fileService); testReader.LoadFile("my test"); var variables = testReader.GetVariables(); variables.Should().NotBeEmpty(); variables["timestamp"].Should().Be("${Faker.CreateTimeStamp(\"yyyyMMdd\")}"); variables["user"].Should().Be("Chewbacca"); variables["itsBlank"].Should().BeEmpty(); variables["multiline"].Should().Be("first line second line third line"); }