public void FindsOnlyTypesThatNeedToBeImplementedAndInternalTypes() { var types = TypesThatNeedToBeImplementedInAssemblyRetriever.GetTypesThatNeedToBeImplementedInAssembly(TestAssemblyName, true); PrintTypes(types); Assert.Equal(TypesThatNeedToBeImplementedInAssemblyAndInternals.OrderByFullTypeName(), types.OrderByFullTypeName()); }
public void ThrowsWhenAssemblyIsNotFound() { Assert.Throws <InvalidOperationException>(() => TypesThatNeedToBeImplementedInAssemblyRetriever.GetTypesThatNeedToBeImplementedInAssembly("NonExistingAssembly", false)); }
public void FindsAssemblyWhenCodeHasNoExplicitReferenceToAssembly() { Assert.Empty(TypesThatNeedToBeImplementedInAssemblyRetriever.GetTypesThatNeedToBeImplementedInAssembly(EmptyAssemblyName, false)); }