package ru.mos.polls.ourapps.model;

import org.junit.Assert;
import org.junit.Before;
import org.junit.Test;

import ru.mos.polls.BaseUnitTest;

import static org.junit.Assert.*;

public class OurApplicationTest extends BaseUnitTest {
    OurApplication test;

    @Before
    public void setUp() throws Exception {
        test = mockObj("our_app.json", OurApplication.class);
    }

    @Test
    public void getType() {
        Assert.assertNotNull(test.getType());
    }

    @Test
    public void getBody() {
        Assert.assertNotNull(test.getBody());
    }

    @Test
    public void getLinkToStore() {
        Assert.assertNotNull(test.getLinkToStore());
    }

    @Test
    public void getTitle() {
        Assert.assertNotNull(test.getTitle());
    }

    @Test
    public void getLinkToIcon() {
        Assert.assertNotNull(test.getLinkToIcon());
    }
}