public void the_resource_hash_is_deterministic_by_route_parameters() { var hash1 = new CurrentChain(theChain, theRouteData).ResourceHash(); var hash2 = new CurrentChain(theChain, theRouteData).ResourceHash(); hash1.ShouldBe(hash2); var hash3 = new CurrentChain(theChain, someDifferentRouteData).ResourceHash(); hash1.ShouldNotBe(hash3); }
public void the_resource_hash_is_deterministic_by_pattern() { var hash1 = new CurrentChain(theChain, theRouteData).ResourceHash(); var hash2 = new CurrentChain(theSecondChain, theRouteData).ResourceHash(); hash1.ShouldNotBe(hash2); }