DATACMNS-102 - Polishing.

Changed RepositoryConfiguration to return Streamable over Iterable. A couple of code reorganizations, suppression of raw type. Turned abstract helper classes into interfaces where possible. A couple of typos in JavaDoc.

Original pull request: #222.
This commit is contained in:
Oliver Gierke
2017-06-13 17:08:52 +02:00
parent 92e8907030
commit 663ae9b4bf
9 changed files with 121 additions and 104 deletions

View File

@@ -39,17 +39,18 @@ import org.springframework.util.ReflectionUtils;
* Unit tests for {@link RepositoryComposition}.
*
* @author Mark Paluch
* @author Oliver Gierke
*/
@RunWith(MockitoJUnitRunner.class)
public class RepositoryCompositionUnitTests {
@Mock QueryByExampleExecutor<Person> queryByExampleExecutor;
@Mock PersonRepository backingRepo;
RepositoryComposition repositoryComposition;
@Before
@SuppressWarnings("rawtypes")
public void before() {
RepositoryInformation repositoryInformation = new DefaultRepositoryInformation(