BAEL-5853: added 'com.baeldung.webflux' as base package (#12921)

This commit is contained in:
etrandafir93
2022-10-25 20:49:44 -07:00
committed by GitHub
parent 379537b930
commit 14f14f5c00
9 changed files with 14 additions and 12 deletions
@@ -1,4 +1,4 @@
package caching;
package com.baeldung.webflux.caching;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;
@@ -1,4 +1,4 @@
package caching;
package com.baeldung.webflux.caching;
import org.springframework.data.mongodb.repository.ReactiveMongoRepository;
import org.springframework.stereotype.Repository;
@@ -1,4 +1,4 @@
package caching;
package com.baeldung.webflux.caching;
import com.github.benmanes.caffeine.cache.Caffeine;
import com.github.benmanes.caffeine.cache.LoadingCache;
@@ -1,4 +1,4 @@
package caching;
package com.baeldung.webflux.caching;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
@@ -1,4 +1,4 @@
package model;
package com.baeldung.webflux.model;
public class Payment {
@@ -1,6 +1,6 @@
package onsuccess;
package com.baeldung.webflux.onsuccess;
import model.Payment;
import com.baeldung.webflux.model.Payment;
public class PaymentService {
@@ -1,4 +1,4 @@
package caching;
package com.baeldung.webflux.caching;
import org.junit.jupiter.api.Test;
@@ -9,6 +9,7 @@ import org.springframework.test.context.DynamicPropertyRegistry;
import org.springframework.test.context.DynamicPropertySource;
import org.testcontainers.containers.MongoDBContainer;
import org.testcontainers.utility.DockerImageName;
import reactor.core.publisher.Mono;
import static org.assertj.core.api.Assertions.assertThat;
@@ -1,4 +1,4 @@
package firstelementofflux;
package com.baeldung.webflux.firstelementofflux;
import static org.assertj.core.api.Assertions.assertThat;
@@ -6,7 +6,7 @@ import java.util.Optional;
import org.junit.jupiter.api.Test;
import model.Payment;
import com.baeldung.webflux.model.Payment;
import reactor.core.publisher.Flux;
import reactor.core.publisher.Mono;
import reactor.test.StepVerifier;
@@ -1,4 +1,4 @@
package onsuccess;
package com.baeldung.webflux.onsuccess;
import static org.mockito.ArgumentMatchers.any;
import static org.mockito.Mockito.mock;
@@ -10,7 +10,8 @@ import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
import org.mockito.Mock;
import model.Payment;
import com.baeldung.webflux.model.Payment;
import reactor.core.publisher.Mono;
class MonoOnSuccessVsOnNexUnitTest {