package com.example.cosmos_serversb.models; import com.example.cosmos_serversb.entities.*; public class Users { User testUser = new User("test", "123456789", "http://test.com", "testpw", "123456789", "123456789", "http://iconuri/123456789.com"); public User createUser(String name, String pw, String iconImage) { //String uId ="123456789"; //String token="123456789"; return testUser; } public User getUserById(String uId) { return testUser; } public User getUserByToken(String token) { return testUser; } public DeleteResult deleteUser(String uId) { return DeleteResult.SUCCESS; } public String login(String uId) { return "123456789";//testToken } public DeleteResult logout(String token) { return DeleteResult.SUCCESS; } }