public void Should_Get_ConnStringName_If_Not_Specified() { ConnectionStringNameAttribute .GetConnStringName <MyClassWithConnStringName>() .ShouldBe("MyDb"); }
public void Should_Get_Class_FullName_If_Not_ConnStringNameAttribute_Specified() { ConnectionStringNameAttribute .GetConnStringName <MyClassWithoutConnStringName>() .ShouldBe(typeof(MyClassWithoutConnStringName).FullName); }