public void CannotBuildFeature() { try { TestKernelInitializer.AssertCanBuildFeature(typeof(NoCanDoFeature), new CanDoKernelInitializer().CreateKernelConfiguration(new FakeLogger()), nameof(NoCanDoFeature)); } catch (AssertionException) { } }
public void CanBuildFeature() { TestKernelInitializer.AssertCanBuildFeature(typeof(CanDoFeature), new CanDoKernelInitializer().CreateKernelConfiguration(new FakeLogger()), nameof(CanDoFeature)); }
public void AbcFeaturesResolveCorrectly(Type featureType, IKernelConfiguration kernelConfiguration, string testName) { TestKernelInitializer.AssertCanBuildFeature(featureType, kernelConfiguration, testName); }