// "Assert with JUnit 4 'Assert.assertNotNull(s)'" "true-preview"

import org.jetbrains.annotations.Nullable;
import org.junit.Assert;
import org.junit.Test;

import static org.junit.Assert.assertTrue;

public final class SomeJUnit4Test {
  @Nullable
  native String getNullableString();

  @Test
  public void test() {
    String s = getNullableString();
      Assert.assertNotNull(s);
      //noinspection SimplifiableConditionalExpression
    assertTrue(s.isEmpty() ? true : false);
  }
}
