Skip to content

Instantly share code, notes, and snippets.

@ininmm
Created October 14, 2019 09:59
Show Gist options
  • Save ininmm/f1c54b80d133a9b78c26c119d9fb0003 to your computer and use it in GitHub Desktop.
Save ininmm/f1c54b80d133a9b78c26c119d9fb0003 to your computer and use it in GitHub Desktop.
Refactoring Test
@Test
fun RefactoringTest() {
val ACCESS_TOKEN = "access token"
val API_RESULT_OK = 200
val service = APIService()
val result = service.getSomeData(ACCESS_TOKEN)
assertThat(result, `is`(API_RESULT_OK))
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment