public void init() { user = new dejamobile_takehome_sdk.Models.UserModel(UsersUnitTests.testUser, UsersUnitTests.testUserPassword); Task <TaskResult> temp = sdk.CreateUser(user); temp = sdk.ConnectUser(user); TaskResult result = temp.Result; }
public void CreateUser() { //arrange user = new dejamobile_takehome_sdk.Models.UserModel(UsersUnitTests.testUser, UsersUnitTests.testUserPassword); //act Task <TaskResult> temp = sdk.CreateUser(user); TaskResult result = temp.Result; //assert Assert.IsTrue(result.result); }