public void ImplicitCastShouldReturnNonEmptyValueWhenPaperKindConvertible() { // Arrange var paperKinds = Enum.GetValues(typeof(PaperKind)) .Cast <PaperKind>() .Where(pk => pk != PaperKind.Custom); // Act & Assert using (new AssertionScope()) { foreach (var paperKind in paperKinds) { PechkinPaperSize pechkinPaperSize = paperKind; pechkinPaperSize.Should().NotBeNull(); pechkinPaperSize.Width.Should().NotBeNullOrWhiteSpace(); pechkinPaperSize.Height.Should().NotBeNullOrWhiteSpace(); } } }