Skip to content

Added Test2#15

Merged
jzuken merged 1 commit intomasterfrom
test2
Dec 20, 2017
Merged

Added Test2#15
jzuken merged 1 commit intomasterfrom
test2

Conversation

@alefedor
Copy link
Copy Markdown
Owner

No description provided.

* @throws InjectionCycleException when found a cycle in dependencies
*/
@NotNull
public static Object initialize(@NotNull String rootClassName, @NotNull Collection<Class<?>> classes) throws ImplementationNotFoundException, AmbiguousImplementationException, IllegalAccessException, InstantiationException, InvocationTargetException, InjectionCycleException {
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

длинновата строчка


import static org.junit.Assert.assertTrue;

public class InjectorTest {
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

тест на то, что каждой зависимости создаётся не более одного объекта, бы тоже не помешал

@jzuken
Copy link
Copy Markdown
Collaborator

jzuken commented Dec 20, 2017

10 баллов

@jzuken jzuken merged commit 428d997 into master Dec 20, 2017
@jzuken jzuken deleted the test2 branch December 20, 2017 06:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants