public void ResolveFileConflict_PackageManagementEventsResolveFileConflictReturnsIgnoreAll_ReturnsIgnoreAll() { CreateLogger(); fakePackageManagementEvents .Stub(events => events.OnResolveFileConflict("message")) .Return(FileConflictResolution.IgnoreAll); FileConflictResolution resolution = logger.ResolveFileConflict("message"); Assert.AreEqual(FileConflictResolution.IgnoreAll, resolution); }