public void CommandContainer_UnbindAll() { // Arrange var container = new DiContainer(); var commandContainer = new CommandContainer(container); var expected = commandContainer.Bind <CommandTest>(); expected.InGlobal() .InParallel() .To <CommandTest>(); // Act commandContainer.UnbindAll(); var actual = commandContainer.Bind <CommandTest>(); //Assert Assert.AreNotEqual(expected, actual); }