public void DiscriminateOnProperty_should_throw() { Assert.Throws <ArgumentNullException>(() => mapping.DiscriminateOnProperty <string>(null)); }