We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1ea93f7 commit a26d7bdCopy full SHA for a26d7bd
SQLite.CodeFirst.Test/SQLite.CodeFirst.Test.csproj
@@ -66,6 +66,7 @@
66
</Choose>
67
<ItemGroup>
68
<Compile Include="Properties\AssemblyInfo.cs" />
69
+ <Compile Include="Statement\StatementTestBase.cs" />
70
</ItemGroup>
71
72
<Folder Include="Builder\" />
SQLite.CodeFirst.Test/Statement/StatementTestBase.cs
@@ -0,0 +1,15 @@
1
+using Moq;
2
+using SQLite.CodeFirst.Statement;
3
+
4
+namespace SQLite.CodeFirst.Test.Statement
5
+{
6
+ public abstract class StatementTestBase
7
+ {
8
+ protected Mock<IStatement> CreateStatementMock(string createStatementReturnValue)
9
10
+ var statementMock = new Mock<IStatement>();
11
+ statementMock.Setup(s => s.CreateStatement()).Returns(createStatementReturnValue);
12
+ return statementMock;
13
+ }
14
15
+}
0 commit comments