File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/test/java/org/codebrewery Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ public void test_that_its_possible_to_save_an_model() throws Exception {
18
18
MockDefaultApiImplementation mockImpl = new MockDefaultApiImplementation (apiConfig , "plainPluto.json" );
19
19
20
20
// execute
21
- DogModel savedModel = ( DogModel ) mockImpl .save (mockModel );
21
+ DogModel savedModel = mockImpl .save (mockModel );
22
22
23
23
// assert
24
24
assertEquals ("pluto" , savedModel .getName ());
@@ -50,7 +50,7 @@ public void test_that_its_possible_to_fetch_an_model() throws Exception {
50
50
MockDefaultApiImplementation mockImpl = new MockDefaultApiImplementation (apiConfig , "plainPluto.json" );
51
51
52
52
// execute
53
- DogModel savedModel = ( DogModel ) mockImpl .fetch (mockModel );
53
+ DogModel savedModel = mockImpl .fetch (mockModel );
54
54
55
55
// assert
56
56
assertEquals ("pluto" , savedModel .getName ());
@@ -68,7 +68,7 @@ public void test_that_its_possible_to_update_an_model() throws Exception {
68
68
MockDefaultApiImplementation mockImpl = new MockDefaultApiImplementation (apiConfig , "plainPluto.json" );
69
69
70
70
// execute
71
- DogModel savedModel = ( DogModel ) mockImpl .update (mockModel );
71
+ DogModel savedModel = mockImpl .update (mockModel );
72
72
73
73
// assert
74
74
assertEquals ("pluto" , savedModel .getName ());
You can’t perform that action at this time.
0 commit comments