1/*
2 * Copyright (c) 2016 Mockito contributors
3 * This program is made available under the terms of the MIT License.
4 */
5package org.mockito.internal.creation.instance;
6
7/**
8 * Provides instances of classes.
9 */
10public interface Instantiator {
11
12    /**
13     * Creates instance of given class
14     */
15    <T> T newInstance(Class<T> cls) throws InstantiationException;
16
17}
18