mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-26 03:51:12 +07:00
16 lines
375 B
Java
16 lines
375 B
Java
import java.util.*;
|
|
|
|
public class ExampleTest {
|
|
public void testSmth() {
|
|
Map<String, Object> data = doWork();
|
|
Object value = data.get("name");
|
|
assertTrue(value instanceof Map);
|
|
value.getO<caret>
|
|
}
|
|
|
|
native Map<String, Object> doWork();
|
|
|
|
static void assertTrue(boolean b) {
|
|
if (!b) throw new AssertionError();
|
|
}
|
|
} |