package com.showka.repository;

import java.util.List;

import org.junit.Test;
import org.springframework.beans.factory.annotation.Autowired;

import com.showka.common.RepositoryTestCase;
import com.showka.entity.MNyukinKakeInfo;
import com.showka.repository.i.MNyukinKakeInfoRepository;

public class MNyukinKakeInfoRepositoryTest extends RepositoryTestCase {

	@Autowired
	private MNyukinKakeInfoRepository repository;

	@Test
	public void test_01() {
		List<MNyukinKakeInfo> result = repository.findAll();
		assertNotNull(result.get(0));
	}
}

@@ -47,16 +47,43 @@
 il.List;
+%0Aimport java.util.Optional;
 %0A%0Aimport
@@ -563,11 +563,138 @@
 (0));%0A%09%7D
+%0A%0A%09@Test%0A%09public void test_02() %7B%0A%09%09Optional%3CMNyukinKakeInfo%3E result = repository.findById(%22KK03%22);%0A%09%09assertNotNull(result);%0A%09%7D
 %0A%7D%0A

add find() test case