public void ThenTheyShouldHaveTheIds(string ids) { var expected = ids.Split(new[] { ',', ' ' }, StringSplitOptions.RemoveEmptyEntries).Select(Int32.Parse); ApplianceResult.Select(a => a.Id).Should().Equal(expected); }
public void ThenIShouldGetAppliance(int id) { ApplianceResult.Select(app => app.Id).Single().Should().Be(id); }