public void build_executor_with_dependencies_in_correct_order() { var exec = _sut.BuildExecutor(_context); exec.TaskDependencies.Should().ContainInOrder(typeof(MyWrapperClass.Clean), typeof(MyWrapperClass.Dummy)); }