public void ShouldSetTypePropertyToPropertyArgument() { // Given // When var metadata = new ClassMetadata(typeof(Exception)); // Then metadata.Should().NotBeNull(); metadata.Type.Should().Be(typeof(Exception)); }