Arrange this unit test in the correct order and with the correct indentation.
JUnit
Fix the code structure
Report a typo
Reorder lines using drag or arrows. Adjust indentation with left buttons
@Test
}
class BotTest {
}
assertEquals("Hello James!", testBot.greetUser())
val testBot = Bot(user = "James")
fun greetUser() {
___
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.