public FindTypeReferencesInMethods(IFindTypeReferencesInCustomAttributes findInCustomAttributes, IFindTypeReferencesInMethodBody findInMethodBody) { _findInCustomAttributes = findInCustomAttributes; _findInMethodBody = findInMethodBody; }
public void SetUp() { SetupFindInCustomAttributes(); _findInMethodBodiesMock = new Mock<IFindTypeReferencesInMethodBody>(); _findInMethodBodiesMock.Setup(m => m.OfMethod(SampleMethodDefinition)) .Returns(TypeReferenesInMethodBody); _findInMethodBody = _findInMethodBodiesMock.Object; _findTypeReferences = new FindTypeReferencesInMethods(_findInCustomAttributes, _findInMethodBody); }