protected override void establish_context()
 {
     base.establish_context();
     other_instance_of_same_name = create_sut();
 }
 protected override void because()
 {
     result = "when_creating_a_bdd_name_from_a_string".as_bdd_style_name();
 }
 protected override void establish_context()
 {
     sut = new BDDStyleName("name_formatted_with_jp_s_bdd_conventions");
 }
Пример #4
0
 public Concern(Type target_concern, BDDStyleName concern_name, IEnumerable <IConcernObservation> observations)
 {
     all_observations = observations;
     concerned_with   = target_concern;
     name             = concern_name;
 }