@Test
public void dependencies() {
final String dependencyNotation1 = "someNotation1";
final String dependencyNotation2 = "someNotation2";
final ModuleDependency dependencyDummy1 = context.mock(ModuleDependency.class, "dep1");
final ModuleDependency dependencyDummy2 = context.mock(ModuleDependency.class, "dep2");
letFactoryStubReturnDependency(dependencyNotation1, dependencyDummy1);
letFactoryStubReturnDependency(dependencyNotation2, dependencyDummy2);
moduleFactoryDelegate.dependencies((Object[])WrapUtil.toArray(dependencyNotation1, dependencyNotation2));
assertThat(clientModule.getDependencies(), Matchers.equalTo(WrapUtil.toSet(dependencyDummy1, dependencyDummy2)));
}