Example #1
0
 public void the_first_part_of_the_zip_code_should_be_as_expected(ZipCodeTestingContext context, ZipCode zipCode)
 {
     Assert.AreEqual(context.expected_first_part, zipCode.Zip);
 }
Example #2
0
 protected ZipCode parsing_the_string_to_zip_code(ZipCodeTestingContext context)
 {
     return(ZipCode.Parse(context.the_string_that_I_should_parse));
 }
Example #3
0
 protected void is_a_valid_short_zip_code_string(ZipCodeTestingContext context)
 {
     context.has_this_string("12345");
     context.should_expect_for_first_part(12345);
 }
Example #4
0
 protected ZipCode parsing_the_string_to_zip_code(ZipCodeTestingContext context)
 {
     return ZipCode.Parse(context.the_string_that_I_should_parse);
 }
Example #5
0
 protected void is_a_valid_short_zip_code_string(ZipCodeTestingContext context)
 {
     context.has_this_string("12345");
     context.should_expect_for_first_part(12345);
 }
Example #6
0
 public void the_first_part_of_the_zip_code_should_be_as_expected(ZipCodeTestingContext context, ZipCode zipCode)
 {
     Assert.AreEqual(context.expected_first_part, zipCode.Zip);
 }