public async Task ShouldContainFileCreatedInHostBindingDirectory() { // arrange var content = Guid.NewGuid().ToString(); const string filename = "my_file"; var filepath = Path.Combine(_hostPathBinding.Key, filename); File.WriteAllText(filepath, content); // act var(stdout, stderr) = await Container.ExecuteCommand( PlatformSpecific.CatCommand(Path.Combine(_hostPathBinding.Value, filename))); // assert Assert.Equal(content, stdout.TrimEndNewLine()); }