Add count check to product lines test
This commit is contained in:
parent
06b397cebf
commit
fbb36fb00d
@ -47,6 +47,7 @@ public class CanWriteProducts : IDisposable
|
|||||||
|
|
||||||
Assert.Equal("TestSpecificationMultipleProductLines", products.First().Item1);
|
Assert.Equal("TestSpecificationMultipleProductLines", products.First().Item1);
|
||||||
Assert.Equal("TargetSpecificationMultipleProductLines", targetProducts.First().Item1);
|
Assert.Equal("TargetSpecificationMultipleProductLines", targetProducts.First().Item1);
|
||||||
|
Assert.Equal(2, targetProducts.First().Item2.Count());
|
||||||
Assert.True(Enumerable.SequenceEqual(products.First().Item2, targetProducts.First().Item2));
|
Assert.True(Enumerable.SequenceEqual(products.First().Item2, targetProducts.First().Item2));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user