Class<?> clazz
core/src/main/java/com/google/common/truth/ClassSubject.java
if (!clazz.isAssignableFrom(getSubject())) {
      fail("is assignable to", clazz);
void isAssignableTo(Class<?> clazz)
core/src/test/java/com/google/common/truth/ClassTest.java
@Test public void testDeclaresField_public() {
  @Test public void testDeclaresField_nullSubject() {
  @Test public void testDeclaresField_private() {
  @Test public void testIsAssignableFrom_same() {
void testDeclaresField_noSuchField()
core/src/test/java/com/google/common/truth/ClassTest.java
@Test public void testIsAssignableTo_same() {
    assertThat(String.class).isAssignableTo(String.class);
void testIsAssignableFrom_parent()
core/src/test/java/com/google/common/truth/ClassTest.java
assertThat(String.class).isAssignableTo(Object.class);
    assertThat(NullPointerException.class).isAssignableTo(Exception.class);
void testIsAssignableTo_parent()
core/src/test/java/com/google/common/truth/ClassTest.java
try {
      assertThat(Object.class).isAssignableTo(String.class);
      assert_().fail("Should have thrown an assertion error.");
void testIsAssignableTo_reversed()
core/src/test/java/com/google/common/truth/ClassTest.java
try {
      assertThat(String.class).isAssignableTo(Exception.class);
      assert_().fail("Should have thrown an assertion error.");
void testIsAssignableTo_reversedDifferentTypes()
core/src/test/java/com/google/common/truth/ClassTest.java
@Test public void testDeclaresField_Public() {
  @Test public void testDeclaresField_NullSubject() {
  @Test public void testDeclaresField_Private() {
  @Test public void testIsAssignableFromSame() {
void testDeclaresField_NoSuchField()