예제 #1
0
 public void It_should_fail()
 {
     QUnit.equal(exception, true);
     QUnit.ok(message.Contains(typeof(ISimpleClass).FullName));
 }
예제 #2
0
 public void It_should_create_class_correctly()
 {
     QUnit.ok(instance.SinmpleClass.Member != null);
 }
예제 #3
0
 public void It_should_create_class_correctly()
 {
     QUnit.ok(instance != null);
     QUnit.ok(instance.Instance != null);
     QUnit.ok(instance.FromFactory != null);
 }
예제 #4
0
 public void It_should_create_class_correctly()
 {
     QUnit.ok(instance != null);
 }
예제 #5
0
 public void It_should_get_same_instance()
 {
     QUnit.ok(sameInstance);
 }
예제 #6
0
 public void It_should_get_new_instance_each_time()
 {
     QUnit.ok(!sameInstance);
 }
예제 #7
0
 public void It_should_fail()
 {
     QUnit.ok(exception);
 }
예제 #8
0
 public void It_should_create_class_correctly()
 {
     QUnit.equal(2, instance.SimpleClasses.Count());
     QUnit.ok(instance.SimpleClasses.Any(sc => sc.Member == "Foo"));
 }
예제 #9
0
 public void It_should_have_created_new_objects()
 {
     QUnit.ok(!sameInstance);
 }