public AdaptManyOrFallback() { _testAdapter = _testAdapter.Fake(); _sampleInput = new[] { "One", "Two" }; _fallBack = () => new[] { new Foo { Value = "FallbackResult" } }; }
public void SetUp() { _userAdapter = _userAdapter.Fake(); _sut = new GetCurrentUserHandler(_userAdapter); _securityContext = _securityContext.Fake(); }
public AdaptNullableMany() { _testAdapter = _testAdapter.Fake(); _sampleInput = new DateTime?[] { new DateTime(2016, 12, 22), new DateTime(2017, 1, 1) }; }
public AdaptMany() { _testAdapter = _testAdapter.Fake(); _sampleInput = new[] { "One", "Two" }; }
public AdaptNullableManyOrFallback() { _testAdapter = _testAdapter.Fake(); _sampleInput = new DateTime?[] { new DateTime(2016, 12, 22), new DateTime(2017, 1, 1) }; _fallBack = () => new bool?[] { true, false }; }
public AdaptNullable() { _testAdapter = _testAdapter.Fake(); _sampleInput = new DateTime(2016, 12, 22); }