// Path: RxPractice/app/src/main/java/ru/samples/itis/rxpractice/tasks/RxJavaSampleTask.java
// public class RxJavaSampleTask {
// 
//     /**
//      * Sample method for practice - for demo
//      *
//      * @param version - current version name
//      * @return is device has Android version greater than 21
//      */
//     @NonNull
//     public static Observable<Boolean> isLollipopOrHigher(int version) {
//         return Observable.just(version >= 21);
//     }
// 
// }


import junit.framework.Assert;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.JUnit4;
import ru.samples.itis.rxpractice.tasks.RxJavaSampleTask;
import rx.Observable;
import static junit.framework.Assert.assertNotNull;
package ru.samples.itis.rxpractice;





/**
 * @author Artur Vasilov
 */
@RunWith(JUnit4.class)
public class SampleTaskTest {

    @Test
    public void testNotNull() throws Exception {
// Path: RxPractice/app/src/main/java/ru/samples/itis/rxpractice/tasks/RxJavaSampleTask.java
// public class RxJavaSampleTask {
// 
//     /**
//      * Sample method for practice - for demo
//      *
//      * @param version - current version name
//      * @return is device has Android version greater than 21
//      */
//     @NonNull
//     public static Observable<Boolean> isLollipopOrHigher(int version) {
//         return Observable.just(version >= 21);
//     }
// 
// }


// Path: RxPractice/app/src/test/java/ru/samples/itis/rxpractice/SampleTaskTest.java
import junit.framework.Assert;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.JUnit4;
import ru.samples.itis.rxpractice.tasks.RxJavaSampleTask;
import rx.Observable;
import static junit.framework.Assert.assertNotNull;

package ru.samples.itis.rxpractice;





/**
 * @author Artur Vasilov
 */
@RunWith(JUnit4.class)
public class SampleTaskTest {

    @Test
    public void testNotNull() throws Exception {
        Observable<Boolean> observable = RxJavaSampleTask.isLollipopOrHigher(10);