    @Test(expected = ValidationException.class)
    public void testNullType() {

        RepositoryFactory factory = new RepositoryFactory(new CollectionFactory(new LockService()));
        db = TestUtil.createDb();
        factory.getRepository(db.getConfig(), null, "dummy");
    }