* BAEL-399: A Guide to Multitenancy in Hibernate 5
* Removed unused properties in profile 2
* Changes after code review
* BAEL-113
* Changes after code review
* Added main method in spring boot application
* Removed extra files
* [BAEL 1209] - Java RMI Files.
* Added parent tag and deleted dependency tag for junit.
* Added java-rmi module.
* Removed duplicate java-lite module entry.
* Deleting this file as it is covered in test class.
* Spell check.
* Evaluation article about types of bean injection in spring
* BAEL-1319 Quick Guide on Data.sql and Schema.sql Files in Spring
* Revert "Evaluation article about types of bean injection in spring"
This reverts commit eb071171673e0b8fa2b7ecffdad86f596e5fb114.
* BAEL-1218: adding spring-ejb and configuring ejb start and deploy
* BAEL-1218: adding spring
* BAEL-1218: wrapping all together
* BAEL-1218: new spring-ejb module
* BAEL-1218: tests and improvements
* BAEL-1218: removing moved files from old article
* BAEL-1218: code review requested changes
* BAEL-1218: test methods nomenclature correction
* BAEL-1418: removing tabs
* BAEL-1218: removing tabs
* BAEL-1218: correcting boot parent module path
* [BAEL-1410] Spring Boot Security Auto-Configuration
* [BAEL-1410] Added some tests for incorrect credentials use case
* [BAEL-1410] Added readme and some code improvements
* BAEL-1216: Introduction to the Oriented Java APIs
* OrientDB Java Graph and Document APIs
* some cleans
* BAEL-1216: Object API + code formating
* Prevent the build to failed
* Improve code and readme
* Update Readme
* Simulate failed test in jenkins pipeline
* added updated example codes
* updated example code StringToCharStream
* deleted StringToCharStream.java locally
* removed redundant file
* added code for apache commons collection SetUtils
* refactored example code
* added example code for bytebuddy
* added example code for PCollections
* update pom
* refactored tests for PCollections
* spring security xml config
* spring security xml config
* remove redundant comment
* example code for apache-shiro
* updated example code for Vavr Collections
* updated Vavr's Collection example
* updated Vavr Collection file
* updated example code for Apache Shiro
* updated Vavr Collections example
* added example code for N1QL
* update example code for N1QL
* added integration test for N1QL
* update N1QL Example code
* update the N1QL example Code
* rename module to couchbase
* rename module to couchbase
* change module name in parent module and pom
* added cas-server module
* added cas secured app for Spring SSO with CAS
* refactor cas modules into cas folder
* updated files
* removed redundant files
* refactor the config for cas-server
* added sql file to generate tables and database
* added source code for VRaptor
* update source code for VRaptor article
* update pom and reformat code
* move security content from spring-security-rest-full
* swagger update
* move query language to new module
* rename spring-security-rest-full to spring-rest-full
* group persistence modules
* group testing modules
* try fix conflict
* cleanup
* group and cleanup
* add readme to grouping modules
* move spring-jpa to persistence-modules
* move security content from spring-security-rest-full
* swagger update
* move query language to new module
* rename spring-security-rest-full to spring-rest-full
* group persistence modules
* group testing modules
* try fix conflict
* cleanup
* group and cleanup
* move security content from spring-security-rest-full
* swagger update
* move query language to new module
* rename spring-security-rest-full to spring-rest-full
* group persistence modules
* group testing modules
* try fix conflict
* added updated example codes
* updated example code StringToCharStream
* deleted StringToCharStream.java locally
* removed redundant file
* added code for apache commons collection SetUtils
* refactored example code
* added example code for bytebuddy
* added example code for PCollections
* update pom
* refactored tests for PCollections
* spring security xml config
* spring security xml config
* remove redundant comment
* example code for apache-shiro
* updated example code for Vavr Collections
* updated Vavr's Collection example
* updated Vavr Collection file
* updated example code for Apache Shiro
* updated Vavr Collections example
* added example code for N1QL
* update example code for N1QL
* added integration test for N1QL
* update N1QL Example code
* update the N1QL example Code
* rename module to couchbase
* rename module to couchbase
* change module name in parent module and pom
* added cas-server module
* added cas secured app for Spring SSO with CAS
* refactor cas modules into cas folder
* move security content from spring-security-rest-full
* swagger update
* move query language to new module
* rename spring-security-rest-full to spring-rest-full
* group persistence modules
* Different types of bean injection in Spring
* Difference between two dates in java
* Update README.md
* Simple clean of difference between dates
* Clean my test article
* Improve dates diff: for dates and datetimes
* Move difference between dates from core-java to libraries
* BAEL-890 - Kotlin-Allopen with Spring example
* BAEL-1107 - Introduction to Apache Cayenne Orm
* BAEL-1107: update formating and version of libs
* BAEL-1107: update properties of Author
* BAEL-1157: Apache Cayenne - Advanced Querying
* BAEL-1157: Fix imports
* BAEL-1157: code indentation
* BAEL-1157: Update list of author names
* BAEL-132: Configure Jenkins to Run and Show Jmeter Tests
* Removed submodule spring-jmeter-jenkins
* Commit again spring-jmeter-jenkins
* move security content from spring-security-rest-full
* swagger update
* move query language to new module
* rename spring-security-rest-full to spring-rest-full
* added updated example codes
* updated example code StringToCharStream
* deleted StringToCharStream.java locally
* removed redundant file
* added code for apache commons collection SetUtils
* refactored example code
* added example code for bytebuddy
* added example code for PCollections
* update pom
* refactored tests for PCollections
* spring security xml config
* spring security xml config
* remove redundant comment
* example code for apache-shiro
* updated example code for Vavr Collections
* updated Vavr's Collection example
* updated Vavr Collection file
* updated example code for Apache Shiro
* updated Vavr Collections example
* added example code for N1QL
* update example code for N1QL
* added integration test for N1QL
* update N1QL Example code
* update the N1QL example Code
* rename module to couchbase
* rename module to couchbase
* change module name in parent module and pom
* added cas-server module
* added cas secured app for Spring SSO with CAS
* Different types of bean injection in Spring
* Difference between two dates in java
* Update README.md
* Simple clean of difference between dates
* Clean my test article
* Improve dates diff: for dates and datetimes
* Move difference between dates from core-java to libraries
* BAEL-890 - Kotlin-Allopen with Spring example
* BAEL-1107 - Introduction to Apache Cayenne Orm
* added updated example codes
* updated example code StringToCharStream
* deleted StringToCharStream.java locally
* removed redundant file
* added code for apache commons collection SetUtils
* refactored example code
* added example code for bytebuddy
* added example code for PCollections
* update pom
* refactored tests for PCollections
* spring security xml config
* spring security xml config
* remove redundant comment
* example code for apache-shiro
* updated example code for Vavr Collections
* updated Vavr's Collection example
* updated Vavr Collection file
* updated example code for Apache Shiro
* updated Vavr Collections example
* added example code for N1QL
* update example code for N1QL
* added integration test for N1QL
* update N1QL Example code
* update the N1QL example Code
* rename module to couchbase
* rename module to couchbase
* change module name in parent module and pom
* Simple Boot REST application and example
* BAEL-509 - Removed extra duplicate ant matcher
* Example and Unit Tests
* documentation
* BAEL-1085 - changes per PR code review and document review - altered integration to unit test - all's good
* BAEL-1085 - Renamed unit tests and added both to pom.xml
* IntelliJ formatter
* REVERT - Had removed a duplicate ant matcher from BAEL-509 - this was the incorrect process - reverting now, article has been corrected, but will issue a seperate PR for this
* BAEL-509: Removed duplicate ant matcher - does not impact code at runtime
* BAEL-1085: Per editor's request, removed Angular client - using CURL POST commands now in article - as such moved the code into a more appropriate module: spring-rest
* BAEL-1052: EthereumJ
* BAEL-1052: .pom module renamed to EthereumJ
* Try catch clauses removed - tested and verified everything again
* Burlap & Hessian server added
* Burlap & Hessian client work
* Fixed main
* Fixed formatting
* Spring Remote example based on Burlap & Hessian runs in a JUnit test
* Fixed main
* Fixed formatting
* Spring Remote example based on Burlap & Hessian runs in a JUnit test
* Spring Remote example based on Burlap & Hessian runs in a JUnit test
* Burlap & Hessian client work
* Fixed main
* Fixed main
* Fixed formatting
* Fixed formatting
* Spring Remote example based on Burlap & Hessian runs in a JUnit test
* Spring Remote example based on Burlap & Hessian runs in a JUnit test
* Fixed POM
* Vertx / RxJava example
* BAEL-776 - Vertx and RxJava
* BAEL-776 - Vertx and RxJava
* Example Code For Evaluation Article
This is an example code for the evaluation article on "Different Types of Bean Injection in Spring"
* Added unit tests
* Minor changes to application context
* Removed code committed for evaluation article
* BAEL-944 Demonstrating the problems with new Url pattern matching in Spring 5
* BAEL-944 Demonstrating the problems with new Url pattern matching in Spring 5
* BAEL-944 Exploring the Spring MVC URL Matching Improvements
* BAEL-944 Exploring the Spring MVC URL Matching Improvements
* BAEL-944 Exploring the Spring MVC URL Matching Improvements
* BAEL-944 Code Formatting and solving build issue
* BAEL-944 Resolving build issue due to change in Spring version
* BAEL-944 Resolving build issue
* BAEL-944 Formatting code
* BAEL-944 Moving tests to correct package
* BAEL-944 Moving tests to correct package
* BAEL-944 Replacing @RequestMapping by @GetMapping
* BAEL-944 Remove unnecessary attribute name, "value" in annotations
* BAEL-79 Intro to Activiti with Spring
* BAEL-79 Intro to Activiti with Spring
* BAEL-79 Adding activiti module to the parent modules
* BAEL-79 Using latest version
* BAEL-79 Update Spring boot version that works with Activiti
* BAEL-79 Replace RequestMapping with GetMapping
* BAEL-79 Use Java 8 Syntax
* BAEL-79 Formatting
* BAEL-79 changed module name
* BAEL-509: Initial Commit - working but needs a few fixes to REST API, etc.
* Fixed Authentication Failure - added subscription handlers - sufficient for Websocket Authentication/Authorization - still some issues to resolve with subscriptions and REST API
* Final version
* CSRF token controller - cleanup of chat wrapper
* Create pom.xml
Initial import
* First submit
* Second submit
* Different Types of Bean Injection in Spring
* Different Types of Bean Injection in Spring
* Added spring-core-di into the main build
* Revert "Create pom.xml"
This reverts commit 1bdc5443125df19575605f41ab28c9e8b6c69a32.
* BAEL-764 Automatic Property Expansion with Spring Boot
* BAEL-764 Automatic Property Expansion with Spring Boot
* BAEL-764 Automatic Property Expansion with Spring Boot
* Solr w Apache SolrJ
* Solr w Apache SolrJ
* updated test names and moved add to @before method
* create apache-solrj module, moved code from spring-data-solr
* More examples for indexing,delete,and query for solrj
* More examples for indexing,delete,and query for solrj
* Jackson Map Serialize/Deserialize
* Jackson Map Serialize/Deserialize
* Jackson version update
* keydeserializer code added
* keydeserializer code added
* remove explicit types from map instantion
* one objectmapper per class
* refactor to spring-rest-simple module
* Fix spring-rest-simple
* BAEL-804 A guide to Spring Drools
* BAEL-804 A guide to Spring Drools
* BAEL-804 A guide to Spring Drools
* BAEL-928 Introduction to Drools
* BAEL-928 Introduction to Drools
* First commit for Hibernate 5 Multitenancy tutorial
* Changes to fix the code.
* Added hibernate begin transaction code.
* Changes to solve the multitenancy issue.
* Changes to integrate h2
* Changing configs to solve the error
* Changes to solve h2 error...
* Changes to fix H2 error.
* Cleaned POM.xml and changed entity name
* Changes table name to supplier
* Removed MySql Dep from pom.xml.
* Changes as per comment in the PR...
* solr-fulltext-search module created
* solr-fulltext-search modue created
* solr-fulltext-search change
s
* pom changes merged from upstream
* removed integration tests from mvn build
* Refactoring test class
* removed test profile
* module solr-fulltext-search changed to solr
* module solr added in parent pom
* delete file
* removed unused file, changed test to default solr port
* Revert "Merge modules (#1471)"
This reverts commit 11cdf67fad.
* Revert "(BAEL-746) How to Copy an Array in Java (#1474)"
This reverts commit 44f5742f16.
* Revert "Bs santosh spring mybatis (#1479)"
This reverts commit 3140ea166d.
* Revert "Spring State Machine (#1424)"
This reverts commit 319dd2653a.
* refactor: Reorder tests without lambda
Moves inner implementations of Answer and ArgumentMatcher to the top of
the test classes.
Also changes the lambda expression to a regular "pre java 8" expression
in one of the tests.
Resolves: BAEL-632
* feat: Create basic Monolithic JHipster project
Commit just after creating a JHipster project, before making any modifications.
Resolves: BAEL-137
* chore: Change the artifactId and name of the project
From baeldung to jhipster-monolithic and JHipster Monolithic Application
Relates to: BAEL-137
* feat: Create entities Post and Comment
Relates to: BAEL-137
* feat: Fix Gatling configuration in pom.xml
Relates to: BAEL-137
* feat: Add files for Continuous Integration
Relates to: BAEL-137
* feat: Change pom.xml to conform to Baeldung standards
- moved the <properties> element to the bottom of the file
- excluded integration tests in the default surefire configuration
- added a new profile, called integration, and added the integration tests there
- added Java 8 in the <source> and <target> tags, under maven-compiler
solves: BAEL-137
* chore: Add jhipster module to parent pom
* BEEL-518 code for protobuf article
* BEEL-518 add generated protobuf class
* BAEL-701 updated the method argument
* BEEL-550 use newest version of protobuff
* Bael 389 - Building URL dynamically between host and pathname (#1323)
* Project for " A Guide to the Java API for WebSocket" article
* Setting dependencies correctly
* Formatting adjustments
* Removing tomcat7 maven plugin
* Applying formatt - No spaces
* BAEL-389 - Building URL dynamically between host and pathname
* Rename classes (#1331)
* BAEL-550 Axon framework
* BEEL-550 create axon module
* BEEL-550 proper naming
* BEEL-550 better example of message service
* BEEL-550 proper name of method
* BEEL-550 remove not needed comments
* BEEL-550 proper message
* BEEL-550 axon test scope test
* BEEL-550 tries to migrate to axon 3
* BEEL-550 migrate to vesrion 3 successfull
* ACO refactor
* BAEL-518 Small refactoring in protobuffer module
* BEEL-550 create axon module
* BEEL-550 proper naming
* BEEL-550 better example of message service
* BEEL-550 proper name of method
* BEEL-550 remove not needed comments
* BEEL-550 proper message
* BEEL-550 axon test scope test
* BEEL-550 tries to migrate to axon 3
* BEEL-550 migrate to vesrion 3 successfull
* WatchService vs. Apache Commons IO Mnitoring
* Indentation fixed
* Indentation fixed
* JAX-RS API using Jersey [BAEL-558]
* JAX-RS API using Jersey [BAEL-558]
* Modifications made to remove xml
* applicationContext.xml removed
* All try catch moved to ExceptionMapper
* fixes
* review comments incorporated
* module renamed
* JAX-RS client [BAEL-595]
* jersey-core dependency removed
* assert changed to assertEquals
* messagebody readers and writers removed
* pom dependency corrected and other minor changes
* Jersey version changed and toString() changed to valueOf()
* BAEL-705: Spring Ldap code
* BAEL-705: Spring Ldap code tab prob rectified
* BAEL-705: Spring Ldap code, readme fixed
* review comments incorporated
* BEEL-311 move jasypt to libraries module
* BAEL-9: README.md file updated (#1310)
* BAEL-278: Updated README.md
* BAEL-554: Add and update README.md files
* BAEL-345: fixed assertion
* BAEL-109: Updated README.md
* BAEL-345: Added README.md
* Reinstating reactor-core module in root-level pom
* BAEL-393: Adding guide-intro module to root pom
* BAEL-9: Updated README.md
* Guide to "when" block in Kotlin pull request (#1296)
* Char array to string and string to char array test cases added
* Minor code renames
* Added groupingBy collector unit tests
* Added test case for int summary calculation on grouped results
* Added the grouping by classes to the main source path
* Reverting char array to string test class
* Reverting char array to string test class
* Reverting char array to string test class
* Reverting char array to string test class
* Unit test class for Kotlin when block + required types
* Minor changes to kotlin when block tests
* Minor change
* Minor change
* Bael 655 (#1256)
BAEL-655 hbase
* Remove unnecessary files and update .gitignore (#1313)
* BAEL-311 Removed jasypt module from parent pom (moved into libraries module)
* Solr w Apache SolrJ
* Solr w Apache SolrJ
* updated test names and moved add to @before method
* create apache-solrj module, moved code from spring-data-solr
* mesos marathon demo
* Updated DockerFile to point to maven target
* Pointed to baeldung docker repository
* Added file permissions for Dockerise script
* BAEL-524 Building an MVC application using Struts 2
* BAEL-524 Building an MVC application using Struts 2
* BAEL-524 Building an MVC application using Struts 2
* BAL-36 File size api in java and apache commons IO
* BAEL-282 grep in java - fixes after code review
* BAEL-519 Added support for disruptor library
* BAEL-519 Added support for disruptor library
* BAEL-519 Added support for disruptor library
* BAEL-519 Added support for disruptor library
* BAEL-519 Added support for disruptor library
* BAEL-519 Added support for disruptor library
* BAEL-519 Added support for disruptor
* BAEL-519 Moved all supporting classes to main source
* BAEL-519 Moved all supporting classes to main source
* BAEL-519 Moved asserts and test classes in test folder.
* BAEL-519 moved test related producer and consumer to src.
* BAEL-586 Guide to Guava BiMap.
* BAEL-587 formatted code.
* BAEL-519 LMAX Disruptor
* BAEL-587 resolved merge
* BAEL-587 Resolved merge
* BAEL-519 Removed disruptor link.
* BAEL-519 Reverted Guava changes
* RFQ-587 Added disruptor as a separate module.
* BAEL-519 Disruptor changes.
* BAEL-519 Removed disruptor from core-java module.
* Initial Commit for Spark Java Article BAEL-498
* reverting main pom.xml and rollbacking accidental changes.
* Changes as per review:
1. Added UserService
2. Renamed UserStore to UserServiceMapImpl
3. Removed Empty spaces in User.java
4. Removed AppTest
5. Changes in SparkRestExample for using UserServiceMapImp instead of
UserStore static functions.
* Suggested changes in print messages.
* Changes as per comments on github... for PR:
https://github.com/eugenp/tutorials/pull/912
* Changes in editUser function as per guidance by Kevin.
* Clean up
* added 1.8 config for pom.xml
* Clean up.
* Removed junit dep.
* Added Application/json in response type.
* WatchService vs. Apache Commons IO Mnitoring
* Indentation fixed
* Indentation fixed
* JAX-RS API using Jersey [BAEL-558]
* JAX-RS API using Jersey [BAEL-558]
* Modifications made to remove xml
* applicationContext.xml removed
* All try catch moved to ExceptionMapper
* fixes
* review comments incorporated
* module renamed
* made changes to java reflection
* removed redundant method makeSound in Animal abstract class
* added project for play-framework article
* added project for regex
* changed regex project from own model to core-java
* added project for routing in play
* made changes to regex project
* refactored code for REST API with Play project
* refactored student store indexing to zero base
* added unit tests, removed bad names
* added NIO Selector project under core-java module
* requested changes made
* added project for nio2
* standardized exception based tests
* fixed exception based tests
* removed redundant files
* added network interface project
* used UUID other than timestamps
* fixed network interface tests
* removed filetest change
* made changes to NIO2 FileTest names
* added project for asyncronous channel apis
* added project for NIO2 advanced filesystems APIS
* merge conflicts
* merged changes to asyncfiletest with future get API
* removed while loops from async client and server
* added project for java8 optional
* fixed merge conflicts in spring-core
* fixed optional
* fixed optional
* fixed asyncechotest
* shifted optional to own package
* made additional tests to demo filter API
* added code for Map
* added javaslang project
* javaslang project
* added pattern matcher code
* BAEL-127: simple app with filters
* removed data rest dependency, final adjustments
* added first live test for the rest api
* move filters code to new module
* moved to root of module, create service layer, standard pom
* added spring-security-core module to root pom
* initial push for core-java-9 tutorials
* Fixed Maven build with experimental java 9 Maven compiler plug-in. Minor
code changes
* Running maven build and changes to some of tests.
* Fixed maven build and modifications ot some tests
* Removing unnecessary files
* Add new module for mocks comparison.
* Add sources for testing.
* Changes on testCase.
* Enter some tests for mockito.
* More tests for Mockito.
* Even more tests.
* Add the rest of the mocking libraries.
* Javadoc on test.
* Test bare bones for EasyMock.
* Fist kind of test and setup.
* Add tests using EasyMock with a change on LoginService.
* Create LoginControllerTest.java
* Test setup
* [JMockit] No method called test.
* [JMockit] Two methods called test.
* [JMockit] One method called test.
* [JMockit] Exception mock test
* [JMockit] Mocked object to pass around test.
* [JMockit] Custom matcher test.
* [JMockit] Partial mocking test.
* [JMockit] Fix with IDE.
* Not stubs. Mocks. MOCKS!!!
* Remove unnecesary import.
* Use correct encoding. Was having problems with buildings.
* Remove failing module.
* Create new module mocks and move mock-comparisons there.
* Add jmockit module.
* Add model class.
* Add collaborator class.
* Add performer class.
* Add performer test.
* Fix
* Add interface for tests.
* Test for any.
* Test for with.
* Test for null.
* Test for times.
* Test for arg that.
* Test for result and returns.
* Test for delegate.
* Add verifications to any tests.
* Add verifications to with test.
* Add verification examples to methods using null.
* Add verifications to methods using times.
* Formatting.
* Compress tests and fix one test.
* Adding new article to readme.
* [BAEL-178] Add collaborator for advanced article.
* [BAEL-178] Add link to readme.
* [BAEL-178] Add test for mockUp.
* [BAEL-178] Add test for invoke method.
* [BAEL-178] Add constructors and tests for mockup for constructors.
* [BAEL-178] Add private fields and more test for deencapsulation.
* [BAEL-178] Add inner class and test for instantiating inner classes.
* [BAEL-178] Multimocks.
* [BAEL-178] Add test for expectation reusing.
* [BAEL-178] Move test class to tests folders.
* Add postgresql dependency.
* Add test and config with properties.
* [BAEL-114] Add new project for JPA with JNDI.
* [BAEL-114] Config without xml.
* [BAEL-114] Bring part of Foo, FooServie and FooDao.
* [BAEL-114] Show all foos.
* [BAEL-114] Readme.
* [BAEL-114] Undo changes on main jpa project.
* [BAEL-114] Remove unnecesary dependencies.
* [BAEL-114] Add tomcat config.
* [BAEL-114] Fixes.
* Spring 4.3
New features in Spring 4.3
* Added Spring-4.3 as a new module
Added Spring-4.3 as a new module.
* Adding read file
Adding read file
* Re-written examples as tests
* Added attribute annotations and default methods
* Add new module for mocks comparison.
* Add sources for testing.
* Changes on testCase.
* Enter some tests for mockito.
* More tests for Mockito.
* Even more tests.
* Add the rest of the mocking libraries.
* Javadoc on test.
* Test bare bones for EasyMock.
* Fist kind of test and setup.
* Add tests using EasyMock with a change on LoginService.
* Create LoginControllerTest.java
* Test setup
* [JMockit] No method called test.
* [JMockit] Two methods called test.
* [JMockit] One method called test.
* [JMockit] Exception mock test
* [JMockit] Mocked object to pass around test.
* [JMockit] Custom matcher test.
* [JMockit] Partial mocking test.
* [JMockit] Fix with IDE.
* Not stubs. Mocks. MOCKS!!!
* Remove unnecesary import.
* Use correct encoding. Was having problems with buildings.
* Remove failing module.
* Create new module mocks and move mock-comparisons there.
* Add jmockit module.
* Add model class.
* Add collaborator class.
* Add performer class.
* Add performer test.
* Add new module for mocks comparison.
* Add sources for testing.
* Changes on testCase.
* Enter some tests for mockito.
* More tests for Mockito.
* Even more tests.
* Add the rest of the mocking libraries.
* Javadoc on test.
* Test bare bones for EasyMock.
* Fist kind of test and setup.
* Add tests using EasyMock with a change on LoginService.
* Create LoginControllerTest.java
* Test setup
* [JMockit] No method called test.
* [JMockit] Two methods called test.
* [JMockit] One method called test.
* [JMockit] Exception mock test
* [JMockit] Mocked object to pass around test.
* [JMockit] Custom matcher test.
* [JMockit] Partial mocking test.
* [JMockit] Fix with IDE.
* Not stubs. Mocks. MOCKS!!!
* Remove unnecesary import.