Moq – Mocking the Request context and verifying SQLException is raised.

Mocking the Request on an API Controller

Had an API controller under unit test which made use of the HttpMessageRequest which I needed to mock.How do I get a handle on this? read more

Moq – Verifying parameter values on a mocked method call.

moq logo

Was going down a rabbit hole trying to figure out how to check param value on a mocked method (pretty simple if truth be told). read more

Wire/Clinic – Drill Festival Sat 22nd April

Went along to the Saturday of a 3 day Drill Festival in Leeds which celebrated Wire’s 40th anniversary but looking forward rather than back.

Tickets were around mid-20s mark for the day which was great value considering all the bands you had access to.  Checked out a few others including JoeyFat who was very entertaining (watched on by Wire’s rhythm section in the crowd).  Lead singer resplendent in what appeared to be a kiddies matador outfit.

 

 

Never seen Clinic live but I’ve always had a soft spot for them.  They were very good and played a lot of their first album to the delight of the crowd.  Will be checking them out live in their own right.

 

 

Wire appeared at around 10pm.  I think it’s fair to say the crowd were waning by now but they put on a blinding performance.  Despite the look back bores “Three Girl Rhumba” got an airing. They continue to release quality albums and put on great live shows.  I look forward to their 50th anniversary as there’s no signs of them slowing down.

British Sea Power @ Birmingham 02 Academy – 13th April 2017

Big smiles as we waltz passed the lines of cheesed off looking Kasabian fans snaking round the corner and up the road from the Birmingham 02 Academy.  We walk straight into the side hall of the Academy (which in itself is a fairly large venue).  On the way in a friendly bouncer looks at us and goes “Ah you here for British Sea Shanties?” with a wry smile on his face. Good effort mate!  I whince as I hand over the £5.10 for a pint of Tubourg!!

 

 

Pint down and BSP hit the stage for the last date of the UK tour.  And it’s another corker.  It’s pretty active down the front and a bit weird.  One guy (not me!) pogos about down the front to just about every song. Then BSP come back on for the encore and let rip with a chaotic cover of Iggy’s “Fun Time” and said pogoer stands there wondering what he’s hearing. Erm.  Anyway, the onstage banter is strong tonight, Noble offers us “What’s your favourite temperature?”.  All jolly good fun.

 

 

 

 

  read more

British Sea Power @ The Church, Leeds 7th April 2017

Is this really the first BSP gig this year? Well it’s definitely my first time in “The Church”.

 

The Church Venue
Pros – Looks fantastic, plenty of bars and space and all its churchy splendour. Nice light show.
Cons – Almost £5 for a can of Dead Pony. Acoustics bounce around all over the place. Bouncers become a bit too keen when the barriers give way towards the end of the gig and end up grabbing a lad by his lapels for no reason.

 

The Band

Great as always. The new songs sound even better then they did last year.  Really tight performance.

 

The Crappy Mobile Pics