Tests for the current solution

Our solution at this point is quite simple. Because BizUnit tests are black boxes, we should really think of the business purpose for which we will create a test, rather than the technical purpose. If we were to consider what test we should have, there would be two distinct tests so far, which are as follows:

  • Priority Order Routing
  • Normal Order Routing

Let's start by making these two tests to cover the solution as it stands by following the following steps:

  1. The first task is to add a reference to BizUnit.dll to the UnitTests project. I like to place this assembly in the 3rdPartyAssemblies directory of the solution, so that it always travels with the solution and makes source control easier. BizUnit will still need to ...

Get Microsoft BizTalk Server 2010 Patterns now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.