Hello, I've not found a way to translate the next ...
# announcements
a
Hello, I've not found a way to translate the next Java code to Kotlin.
Copy code
public abstract class Foo {
  public String bar() {
    return "bar";
  }
}

public class FooTest {
    @Test
    public void aTest() {
        assertEquals("bar", new Foo() {}.bar());
    }
}