This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
_expectedPaymentAccountingTransaction = new | |
{ | |
Amount = Expect.Any<decimal>(amount => amount == _paymentEvent.Amount) | |
}.ToExpectedObject(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class UserServiceSpecs | |
{ | |
[Subcutaneous] | |
public class when_creating_an_inactive_account : SubjectBuilderContext | |
{ | |
const string UserName = "testuser"; | |
static AccountInfo _accountInfo; | |
static ExpectedObject _expectedUser; | |
static IUserService _userService; | |
Cleanup after = () => DnxDatabase.DeleteUser(UserName); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
☺ DGreer@DEREKGREER /projects/Spikes/gulpSamples | |
$ npm install gulp --save-dev | |
[email protected] node_modules\gulp | |
├── [email protected] | |
├── [email protected] | |
├── [email protected] | |
├── [email protected] | |
├── [email protected] | |
├── [email protected] | |
├── [email protected] ([email protected]) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class InMemorySqliteDatabaseInitializer<TContext> : SqliteInitializerBase<TContext> | |
where TContext : DbContext | |
{ | |
public InMemorySqliteDatabaseInitializer(DbModelBuilder modelBuilder) | |
: base(modelBuilder) | |
{ | |
} | |
public override void InitializeDatabase(TContext context) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class RetryConsumerFilterSpecs | |
{ | |
[Subject("Message Retry")] | |
public class when_a_handler_throws_an_exception_that_should_not_be_retried | |
{ | |
static Action<IConsumeContext<string>> _nextStub; | |
static RetryConsumerFilter _filter; | |
static Exception _exception; | |
static Spy<IConsumeContext<string>> _consumeContextSpy; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Net.Security; | |
using System.Security.Authentication; | |
using System.Threading.Tasks; | |
using Autofac; | |
using Autofac.Core; | |
using GreenPipes; | |
using MassTransit; | |
using MassTransit.ConsumeConfigurators; |
OlderNewer