Skip to content

Commit

Permalink
Add test for getter
Browse files Browse the repository at this point in the history
Signed-off-by: Pavlo Smahin <[email protected]>
  • Loading branch information
psmagin committed Sep 30, 2022
1 parent ca203a1 commit 9927d51
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,10 @@ public void testSerializationBWC() throws IOException {
}
}

public void testPath() {
assertEquals("nested1", createTestQueryBuilder().path());
}

public void testValidate() {
QueryBuilder innerQuery = RandomQueryBuilder.createQuery(random());
IllegalArgumentException e = expectThrows(
Expand Down

0 comments on commit 9927d51

Please sign in to comment.