Skip to content

Commit 92f474f

Browse files
authored
he himself is judged of no man
But he that is spiritual judges all things, yet he himself is judged of no man (1Cor 2:15)
1 parent 8a38838 commit 92f474f

1 file changed

Lines changed: 29 additions & 0 deletions

File tree

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
2+
//But he that is spiritual judges all things, yet he himself is judged of no man (1Cor 2:15)
3+
4+
package com.javarush.task.task36.task3608.model;
5+
6+
import com.javarush.task.task36.task3608.bean.User;
7+
import java.util.Arrays;
8+
9+
public class FakeModel implements Model {
10+
private ModelData modelData = new ModelData();
11+
12+
public void loadUsers() {
13+
modelData.setUsers(Arrays.asList(new User("test1", 1, 1), new User("test2", 1, 1)));
14+
}
15+
16+
public ModelData getModelData() {return this.modelData;}
17+
18+
public void loadDeletedUsers() {throw new UnsupportedOperationException();}
19+
20+
public void loadUserById(long userId) {throw new UnsupportedOperationException();}
21+
22+
public void deleteUserById(long id) {
23+
throw new UnsupportedOperationException();
24+
}
25+
26+
public void changeUserData(String name, long id, int level) {
27+
throw new UnsupportedOperationException();
28+
}
29+
}

0 commit comments

Comments
 (0)