1package com.xtremelabs.robolectric; 2 3import org.junit.Assert; 4import org.junit.Test; 5import org.junit.runner.RunWith; 6 7import com.xtremelabs.robolectric.bytecode.RobolectricClassLoader; 8 9 10@RunWith(WithTestDefaultsRunner.class) 11public class RobolectricTestRunnerClassLoaderSetup { 12 13 @Test 14 public void testUsingClassLoader() throws ClassNotFoundException { 15 ClassLoader classLoader = Thread.currentThread().getContextClassLoader(); 16 Assert.assertEquals(classLoader.getClass().getName(), RobolectricClassLoader.class.getName()); 17 } 18} 19