one(clientModuleMock).addDependency(dependencyDummy1);
one(clientModuleMock).addDependency(dependencyDummy2);
one(clientModuleMock).addDependency(dependencyDummy3);
one(clientModuleMock).addDependency(dependencyMock);
}});
Closure configureClosure = HelperUtil.toClosure(String.format(
"{dependency('%s'); dependencies('%s', '%s'); dependency('%s') { transitive = true }}",
someNotation1, someNotation2, someNotation3, someNotation4));
assertThat(dependencyFactory.createModule(someModuleNotation, configureClosure), equalTo(clientModuleMock));
}