package no.ntnu.capgeminitest.binding.android.propertyprovider.listener;

import static org.junit.Assert.*;
import static org.hamcrest.CoreMatchers.*;

import no.ntnu.capgeminitest.data.Property;

import org.junit.Test;
import org.junit.runner.RunWith;

import android.view.View;

import com.xtremelabs.robolectric.RobolectricTestRunner;


@RunWith(RobolectricTestRunner.class)
public class OnClickListenerPropertyTest {
    OnClickListenerProperty onClickListenerProperty = new OnClickListenerProperty();
    
    @Test
    public void testOnClickListenerProperty() {
        assertThat(onClickListenerProperty.property.get(), is(nullValue()));
        onClickListenerProperty.onClick(null);
        assertThat(onClickListenerProperty.property.get(), is(notNullValue()));
        Object object1 = onClickListenerProperty.property.get();
        onClickListenerProperty.onClick(null);
        assertThat(onClickListenerProperty.property.get(), not(equalTo(object1)));
    }
}

@@ -149,53 +149,8 @@
 *;%0A%0A
-import no.ntnu.capgeminitest.data.Property;%0A%0A
 impo
@@ -206,35 +206,8 @@
 h;%0A%0A
-import android.view.View;%0A%0A
 impo

Remove unused imports.