Ejemplo n.º 1
0
 public void build_accessor_for_a_non_enumerable()
 {
     PersistenceSpecification <PersistenceCheckTarget> .BuildCheck(x => x.Number)
     .ShouldBeOfType <AccessorPersistenceCheck>()
     .Accessor.Name.ShouldEqual("Number");
 }
Ejemplo n.º 2
0
 public void build_accessor_for_an_enumerable()
 {
     PersistenceSpecification <PersistenceCheckTarget> .BuildCheck(x => x.Names)
     .ShouldBeOfType <EnumerablePersistenceCheck <string> >()
     .Accessor.Name.ShouldEqual("Names");
 }