Serhii Shushliapin
Serhii Shushliapin
Addresses #139.
Partially addresses #67. Replaces Header component FakeDb unit tests with Item mocks.
Hey guys, I've never used [`Debug.Assert(...)`](https://github.com/Sitecore/Helix.Examples/blob/master/examples/helix-basic-unicorn/src/Feature/Navigation/website/Services/HeaderBuilder.cs#L25) before, usually I just use old good `Assert.ArgumentNotNull()`. There is some strange behavior with this debug asserts. When tests run (no mapper if it's...
In SC9+ unit testing goes better without FakeDb (yep, that's me saying that)... Just get rid of [this NuGet package](https://github.com/Sitecore/Helix.Examples/blob/master/examples/helix-basic-unicorn/src/Feature/Products/tests/BasicCompany.Feature.Products.Tests.csproj#L53).
When AutoFixture Idioms meet method like the following: ```csharp public virtual IEnumerable Method(object arg) { if (arg == null) throw new ArgumentNullException(nameof(arg)); yield return new object(); } ``` ... it...