package com.pushtorefresh.storio.contentprovider.design;

import android.database.Cursor;

import com.pushtorefresh.storio.operation.MapFunc;

/**
 * Test class that represents an object stored in ContentProvider
 */
class Article {

    static final MapFunc<Cursor, Article> MAP_FROM_CURSOR = new MapFunc<Cursor, Article>() {
        @Override
        public Article map(Cursor cursor) {
            return new Article(); // parse cursor here
        }
    };
}

@@ -82,16 +82,103 @@
 .Cursor;
+%0Aimport android.support.annotation.NonNull;%0Aimport android.support.annotation.Nullable;
 %0A%0Aimport
@@ -540,11 +540,226 @@
 %7D%0A    %7D;
+%0A%0A    @Nullable%0A    private Long id;%0A%0A    @NonNull%0A    private String title;%0A%0A    @Nullable%0A    public Long getId() %7B%0A        return id;%0A    %7D%0A%0A    @NonNull%0A    public String getTitle() %7B%0A        return title;%0A    %7D
 %0A%7D%0A

Add fields and getter to test class Article