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

org.seedstack.business.api.ServiceProvider Maven / Gradle / Ivy

/**
 * Copyright (c) 2013-2015 by The SeedStack authors. All rights reserved.
 *
 * This file is part of SeedStack, An enterprise-oriented full development stack.
 *
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
 */
package org.seedstack.business.api;

/**
 * Provides a method to specify the method which should be tested.
 */
public interface ServiceProvider {

    /**
     * Indicates the method to test with its params.
     *
     * @param method method name
     * @param args   method arguments
     * @return itself
     */
    HandlerProvider whenCalled(String method, Object... args);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy