// When: search in target only and case sensitive
GetProjectTransUnitListsResult result = handler.execute(action, null);
verify(identity).checkLoggedIn();
FilterConstraints constraints = constraintCaptor.getValue();
assertThat(constraints.isSearchInSource(), Matchers.equalTo(true));
assertThat(constraints.isSearchInTarget(), Matchers.equalTo(true));
assertThat(constraints.isCaseSensitive(), Matchers.equalTo(true));
assertThat(result.getDocumentIds(), Matchers.contains(DOC_ID));
assertThat(TestFixture.asIds(result.getUnits(DOC_ID)),
Matchers.contains(1, 2, 3, 4));
}