Skip to content

Commit

Permalink
Test for ObjectsList(maxRecords).
Browse files Browse the repository at this point in the history
  • Loading branch information
hisystems committed Jun 29, 2014
1 parent d149c63 commit 552f0e2
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions Database/DatabaseTests.vb
Expand Up @@ -171,6 +171,16 @@ Public Class DatabaseTests

End Sub

<TestMethod()>
<TestCategory("Database")>
Public Sub ObjectsListMaxRecords(database As Database)

Dim items = database.ObjectsList(table, maxRecords:=2)

Assert.AreEqual(items.Count, 2)

End Sub

<TestMethod()>
<TestCategory("Database")>
Public Sub ObjectsList(database As Database)
Expand Down

0 comments on commit 552f0e2

Please sign in to comment.