<commit_before>package org.codingmatters.poom.services.domain.repositories.inmemory;

import org.codingmatters.generated.QAValue;
import org.codingmatters.poom.services.domain.exceptions.RepositoryException;
import org.codingmatters.poom.services.domain.repositories.Repository;
import org.codingmatters.poom.services.domain.repositories.RepositoryBaseAcceptance;
import org.codingmatters.poom.servives.domain.entities.PagedEntityList;

public class InMemoryRepositoryBaseAcceptance extends RepositoryBaseAcceptance {
    @Override
    protected Repository<QAValue, Void> createRepository() {
        return new InMemoryRepository<>() {
            @Override
            public PagedEntityList<QAValue> search(Void query, long startIndex, long endIndex) throws RepositoryException {
                throw new RepositoryException("not implemented");
            }
        };<commit_msg>added base repository acceptance test<commit_after>package org.codingmatters.poom.services.domain.repositories.inmemory;

import org.codingmatters.generated.QAValue;
import org.codingmatters.poom.services.domain.exceptions.RepositoryException;
import org.codingmatters.poom.services.domain.repositories.Repository;
import org.codingmatters.poom.services.domain.repositories.RepositoryBaseAcceptance;
import org.codingmatters.poom.servives.domain.entities.PagedEntityList;

public class InMemoryRepositoryBaseAcceptance extends RepositoryBaseAcceptance {
    @Override
    protected Repository<QAValue, Void> createRepository() throws Exception {
        return new InMemoryRepository<>() {
            @Override
            public PagedEntityList<QAValue> search(Void query, long startIndex, long endIndex) throws RepositoryException {
                throw new RepositoryException("not implemented");
            }
        };
{'fraction_non_alphanumeric': 0.07840971838763114, 'fraction_numerical': 0.0, 'mean_word_length': 4.6802507836990594, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6446539', 'n_tokens_mistral': 485, 'n_tokens_neox': 460, 'n_words': 86}