1 |
|
|
2 |
|
|
3 |
|
|
4 |
|
|
5 |
|
|
6 |
|
|
7 |
|
|
8 |
|
|
9 |
|
|
10 |
|
|
11 |
|
|
12 |
|
|
13 |
|
|
14 |
|
|
15 |
|
|
16 |
|
|
17 |
|
package org.kuali.rice.shareddata.impl.state |
18 |
|
|
19 |
|
import org.junit.Test |
20 |
|
import org.kuali.rice.shareddata.api.state.State |
21 |
|
import junit.framework.Assert |
22 |
|
|
23 |
|
|
|
|
| 0% |
Uncovered Elements: 5 (5) |
Complexity: 1 |
Complexity Density: 0.25 |
|
24 |
|
class StateBoTest { |
|
|
| 0% |
Uncovered Elements: 4 (4) |
Complexity: 1 |
Complexity Density: 0.25 |
4
-
|
|
25 |
0
|
@Test... |
26 |
|
public void testNotEqualsWithCampus() { |
27 |
0
|
State immutable = State.Builder.create("MI", "Michigan","US").build(); |
28 |
0
|
StateBo bo = StateBo.from(immutable) |
29 |
0
|
Assert.assertFalse(bo.equals(immutable)) |
30 |
0
|
Assert.assertFalse(immutable.equals(bo)) |
31 |
|
} |
32 |
|
} |