Revision 49434
Added by Sandro La Bruzzo over 6 years ago
ParserTest.java | ||
---|---|---|
16 | 16 |
import static org.mockito.Mockito.mock; |
17 | 17 |
import static org.mockito.Mockito.when; |
18 | 18 |
|
19 |
import org.junit.Assert; |
|
19 | 20 |
import org.junit.Before; |
20 | 21 |
import org.junit.Test; |
21 | 22 |
import org.junit.runner.RunWith; |
... | ... | |
101 | 102 |
|
102 | 103 |
WDSResolvedObject resolvedObject = (WDSResolvedObject) parser.parseObject(dmf); |
103 | 104 |
|
105 |
Assert.assertNotNull(resolvedObject.getType()); |
|
106 |
|
|
104 | 107 |
Gson g = new GsonBuilder().setPrettyPrinting().create(); |
105 | 108 |
|
106 | 109 |
assertNotNull(resolvedObject); |
Also available in: Unified diff
major fix of friday