Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Small internal DSL in unit tests
public void It_uses_more_specific_rule_if_rule_and_information_is_present()
Given(new ProductType("air", null, ProductCategory.AirOnly),
new ProductType("air", "someSpecialWeirdProduct", ProductCategory.LandOnly))
.ItMaps(new ProductReference("air", "someSpecialWeirdProduct"))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment