public void Load_API_Relevant_Types() { var publicTypes = new TypeQuery(TypeQueryMode.ApiRelevant).GetTypes(TestConstants.BaseLibV1Assembly); Console.WriteLine("Got {0} types", publicTypes.Count); foreach (var type in publicTypes) { Console.WriteLine("\t{0}", type); } Assert.AreEqual(21, publicTypes.Count, "BaseLibraryV1 should only contain these public types"); int interfaceCount = publicTypes.Count((type) => type.IsInterface); Console.WriteLine("Got {0} public interfaces", interfaceCount); Assert.AreEqual(4, interfaceCount, "BaseLibraryV1 has only these public interfaces"); }