private void Then_the_read_result_equals(IEnumerable <string> readResult) { Context.Get <IEnumerable <string> >("FileReadResult") .Should() .BeEquivalentTo(readResult); }
private void Then_the_parsed_instructions_equal(IEnumerable <ParkingChargeInstructionFile> expectedResults) { var actualResults = Context.Get <IEnumerable <ParkingChargeInstructionFile> >(ContextKeys.ParsedParkingChargeInstructionsKey); actualResults.Should().BeEquivalentTo(expectedResults); }