3 using <%= Namespace
%>;
5 namespace <%= TestsNamespace
%>
8 /// Test unitaire pour <%= Name %>.
11 public class <%= ClassName
%>Test
: ActiveRecordTestCase
16 <%= ClassName
%> new<%= ClassName
%> = new <%= ClassName
%>();
18 // Initialize new<%= ClassName %>
20 new<%= ClassName
%>.Create();
22 <%= ClassName
%> db
<%= ClassName
%> = <%= ClassName
%>.FindAll()[0];
24 //Assert.AreEqual(new<%= ClassName %>.UnAttribut, db<%= ClassName %>.UnAttribut);
32 Assert
.AreEqual(1, <%= ClassName
%>.FindAll().Length
);
40 <%= ClassName
%>.FindAll()[0].Delete();
42 Assert
.AreEqual(0, <%= ClassName
%>.FindAll().Length
);