All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.dreamhead.moco.verification.UnaryTimesVerification Maven / Gradle / Ivy

Go to download

Moco is an easy setup stub framework, mainly focusing on testing and integration.

There is a newer version: 1.5.0
Show newest version
package com.github.dreamhead.moco.verification;

public abstract class UnaryTimesVerification extends AbstractTimesVerification {
    protected abstract boolean doMeet(int size, int count);

    private final int count;

    protected UnaryTimesVerification(final int count) {
        this.count = count;
    }

    @Override
    protected final String expectedTip() {
        return Integer.toString(count);
    }

    @Override
    protected final boolean meet(final int size) {
        return doMeet(size, count);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy