Advertisement
Guest User

Untitled

a guest
May 29th, 2017
45
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. @Test
  2. public void testCreate()
  3. {
  4. Purchasing purchasing = new Purchasing();
  5. ReceivingStock receivingStock = new ReceivingStock();
  6. Factory factory = new Factory(purchasing, receivingStock);
  7. assertEquals(new Part(), factory.create(Factory.PartType.COMPONENTS, null, "Nita"));
  8. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement