public static void UnauthorisedCommandIgnored(Guid userId, Type aggregateType, Guid aggregateId) { command.Response.ShouldEqual(new HttpResponseMessage(HttpStatusCode.Forbidden) { ReasonPhrase = $"User {userId} is not authorized for {aggregateType} {aggregateId}" }); }