Search in sources :

Example 16 with Observable

use of java.util.Observable in project podam by devopsfolks.

the class ConstructorsUnitTest method podamShouldBeAbleToManufactureInstancesOfTheObservableClass.

@Test
@Title("Podam should be able to manufacture instances of the Observable class")
public void podamShouldBeAbleToManufactureInstancesOfTheObservableClass() throws Exception {
    PodamFactory podamFactory = podamFactorySteps.givenAStandardPodamFactory();
    Observable observable = podamInvocationSteps.whenIInvokeTheFactoryForClass(Observable.class, podamFactory);
    podamValidationSteps.thePojoMustBeOfTheType(observable, Observable.class);
}
Also used : PodamFactory(uk.co.jemos.podam.api.PodamFactory) Observable(java.util.Observable) Test(org.junit.Test) Title(net.thucydides.core.annotations.Title)

Aggregations

Observable (java.util.Observable)16 Observer (java.util.Observer)9 ContentQueryMap (android.content.ContentQueryMap)6 ContentResolver (android.content.ContentResolver)6 ContentValues (android.content.ContentValues)6 Cursor (android.database.Cursor)6 Handler (android.os.Handler)6 MediumTest (android.test.suitebuilder.annotation.MediumTest)6 Test (org.junit.Test)3 MockMaker (org.mockito.plugins.MockMaker)2 CvsBundle (com.intellij.CvsBundle)1 CvsRootConfiguration (com.intellij.cvsSupport2.config.CvsRootConfiguration)1 CvsEnvironment (com.intellij.cvsSupport2.connections.CvsEnvironment)1 CvsRootException (com.intellij.cvsSupport2.connections.CvsRootException)1 CvsElement (com.intellij.cvsSupport2.cvsBrowser.CvsElement)1 CvsTree (com.intellij.cvsSupport2.cvsBrowser.CvsTree)1 LoginPerformer (com.intellij.cvsSupport2.cvsoperations.common.LoginPerformer)1 ApplicationManager (com.intellij.openapi.application.ApplicationManager)1 ModalityState (com.intellij.openapi.application.ModalityState)1 Project (com.intellij.openapi.project.Project)1