package com.ifish.serviceImpl;

import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;

import com.ifish.dto.JsonResult;
import com.ifish.service.GoldService;

@RunWith(SpringJUnit4ClassRunner.class)
@ContextConfiguration(value="classpath:application-context.xml")
public class GoldServiceImplTest {

	@Autowired
	private GoldService goldService;
	
	@Test
	public void testLiveRoomPayTour() {
		JsonResult<?> result = goldService.liveRoomReward(100, 502);
		System.out.println(result);
	}

}
