package org.hisp.dhis.android.testapp.systeminfo;

import android.support.test.runner.AndroidJUnit4;

import org.hisp.dhis.android.core.systeminfo.SystemInfo;
import org.hisp.dhis.android.testapp.arch.BasePublicAccessShould;
import org.junit.runner.RunWith;
import org.mockito.Mock;

@RunWith(AndroidJUnit4.class)
public class SystemInfoPublicAccessShould extends BasePublicAccessShould<SystemInfo> {

    @Mock
    private SystemInfo object;

    @Override
    public SystemInfo object() {
        return object;
    }

    @Override
    public void has_public_create_method() {
        SystemInfo.create(null);
    }

    @Override
    public void has_public_builder_method() {
        SystemInfo.builder();
    }

    @Override
    public void has_public_to_builder_method() {
        object().toBuilder();
    }
}
Add systeminfo package tests