Skip to content

Commit

Permalink
#505 Fixed code smells for: CustomerComponentTest.java
Browse files Browse the repository at this point in the history
  • Loading branch information
Caleb Murphy committed Oct 16, 2024
1 parent 4d9d607 commit 2c94b30
Showing 1 changed file with 1 addition and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,23 +5,17 @@
import com.csse3200.game.entities.configs.CustomerPersonalityConfig;
import com.csse3200.game.physics.PhysicsService;
import com.csse3200.game.rendering.RenderService;
import com.csse3200.game.services.ResourceService;
import com.csse3200.game.services.ServiceLocator;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.mockito.Mockito.mock;

public class CustomerComponentTest {
class CustomerComponentTest {
@BeforeEach
void setup(){
ServiceLocator.registerPhysicsService(new PhysicsService());
ServiceLocator.registerEntityService(new EntityService());
ServiceLocator.registerRenderService(new RenderService());

ResourceService mockResourceService = mock(ResourceService.class);
CustomerPersonalityConfig mockCustomerPersonalityConfig = new CustomerPersonalityConfig();
BaseCustomerConfig mockBaseCustomerConfig = new BaseCustomerConfig();
}

@Test
Expand Down

0 comments on commit 2c94b30

Please sign in to comment.