Skip to content

Instantly share code, notes, and snippets.

@mkubala
Created July 24, 2012 21:10
Show Gist options
  • Save mkubala/3172683 to your computer and use it in GitHub Desktop.
Save mkubala/3172683 to your computer and use it in GitHub Desktop.
entity tree mock
private void stubMeatCuttingTree() {
stubMeatCuttingTreeNode(1L, w_1, 1, "1.", null, Lists.newArrayList(w_1_A_1, w_1_B_1, w_1_C_1, w_1_D_1, w_1_E_1),
prod_cwp, "0,2445", "0,962");
/* ## */stubMeatCuttingTreeNode(2L, w_1_A_1, 1, "1.A.1.", w_1, null, prod_mstk, "0,0808", "1");
/* ## */stubMeatCuttingTreeNode(3L, w_1_B_1, 2, "1.B.1.", w_1, Lists.newArrayList(w_1_B_1_A_1, w_1_B_1_B_1, w_1_B_1_C_1),
prod_kzk, "0,1315", "1,150");
/* ######## */stubMeatCuttingTreeNode(4L, w_1_B_1_A_1, 1, "1.B.1.A.1.", w_1_B_1, null, prod_kbk, "0,6866", "1,531");
/* ######## */stubMeatCuttingTreeNode(5L, w_1_B_1_B_1, 2, "1.B.1.B.1.", w_1_B_1, null, prod_2wol, "0,0896", "0,992");
/* ######## */stubMeatCuttingTreeNode(6L, w_1_B_1_C_1, 3, "1.B.1.C.1.", w_1_B_1, null, prod_ksci, "0,2239", "0,001");
/* ## */stubMeatCuttingTreeNode(7L, w_1_C_1, 3, "1.C.1.", w_1, null, prod_rzbr, "0.2342", "1,227");
/* ## */stubMeatCuttingTreeNode(8L, w_1_D_1, 4, "1.D.1.", w_1, null, prod_szp, "0,2410", "1,089");
/* ## */stubMeatCuttingTreeNode(9L, w_1_E_1, 5, "1.E.1.", w_1,
Lists.newArrayList(w_1_E_1_A_1, w_1_E_1_B_1, w_1_E_1_C_1, w_1_E_1_D_1, w_1_E_1_E_1), prod_lptk, "0,3246", "1");
/* ######## */stubMeatCuttingTreeNode(10L, w_1_E_1_A_1, 1, "1.E.1.A.1.", w_1_E_1, null, prod_glsz, "0,4768", "1,404");
/* ######## */stubMeatCuttingTreeNode(11L, w_1_E_1_B_1, 2, "1.E.1.B.1.", w_1_E_1, null, prod_2wol, "0,1688", "0,992");
/* ######## */stubMeatCuttingTreeNode(12L, w_1_E_1_C_1, 3, "1.E.1.C.1.", w_1_E_1, null, prod_loj, "0,0549", "2,1786");
/* ######## */stubMeatCuttingTreeNode(13L, w_1_E_1_D_1, 4, "1.E.1.D.1.", w_1_E_1, null, prod_4wol, "0,0464", "1,8413");
/* ######## */stubMeatCuttingTreeNode(14L, w_1_E_1_E_1, 5, "1.E.1.E.1.", w_1_E_1, null, prod_ksci, "0,2532", "0,001");
given(meatCuttingTree.getRoot()).willReturn(w_1);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment