public void SatisfyParts_NullArgument_ShouldThrowArgumentNullException() { Assert.Throws <ArgumentNullException>("part", () => { var compositionService = new TypeCatalog().CreateCompositionService(); compositionService.SatisfyImportsOnce(null); }); }