package com.processpuzzle.address.domain;

import static org.hamcrest.Matchers.equalTo;
import static org.junit.Assert.assertThat;

import org.junit.Test;

import com.processpuzzle.litest.template.DomainObjectTestTemplate;
import com.processpuzzle.sharedfixtures.domaintier.DomainTierTestConfiguration;

public class DistrictTest extends DomainObjectTestTemplate<District, DistrictTestFixture> {

   public DistrictTest() {
      super( DomainTierTestConfiguration.FIXTURE_CONTAINER_DEFINITION_PATH );
   }

   @Test public void instantiation_Requires_Name() {
      assertThat( sut.getName(), equalTo( DistrictTestFixture.DISTRIC_NAME ) );
   }
}
